#include <stdio.h>
int main()
{
    int n;
    for (n = 2; n < 60; n = n + 13)
        printf("%d \n", n);
    return 0;
}